const app = getApp();
Page({
	data:{
		img:'',
		img_on:'',
		img_list:[
				{src:"//resource.160nurse.com/upload/ueditor/image/20181011/1539243247619610.jpg"},
				{src:"//resource.160nurse.com/upload/ueditor/image/20181011/1539243247619610.jpg"},
				{src:"//resource.160nurse.com/upload/ueditor/image/20181011/1539243247619610.jpg"},
		]
		
	},
	img_click:function(e){
		// console.log(e.target.dataset.id)
			this.setData({
					img:e.target.dataset.src,
					img_on:'on'
			});
	},
	img_off:function(){
		this.setData({
				img_on:' '
		});
	},
  onShareAppMessage: function () {
    return app.onShareAppMessage();
  }  
})



